package com.ebuy.shopping.model;

import java.util.Date;
import java.util.List;

/**
 * 
 * @ClassName: User
 * @Description: TODO
 * @author wenzhao
 * @date 2017年8月10日 上午10:24:56
 * 
 */
public class User
{
    @Override
    public String toString()
    {
        return "User [userId=" + userId + ", userName=" + userName
                + ", password=" + password + ", sex=" + sex + ", birthday="
                + birthday + ", identityCode=" + identityCode + ", email="
                + email + ", mobile=" + mobile + ", address=" + address
                + ", status=" + status + "]";
    }

    private String userId;

    private String userName;

    private String password;

    private String sex;

    private Date birthday;

    private String identityCode;

    private String email;

    private String mobile;

    private String address;

    private Integer status;

    private List<Order> orders;

    public List<Order> getOrders()
    {
        return orders;
    }

    public void setOrders(List<Order> orders)
    {
        this.orders = orders;
    }

    public String getUserId()
    {
        return userId;
    }

    public void setUserId(String userId)
    {
        this.userId = userId == null ? null : userId.trim();
    }

    public String getUserName()
    {
        return userName;
    }

    public void setUserName(String userName)
    {
        this.userName = userName == null ? null : userName.trim();
    }

    public String getPassword()
    {
        return password;
    }

    public void setPassword(String password)
    {
        this.password = password == null ? null : password.trim();
    }

    public String getSex()
    {
        return sex;
    }

    public void setSex(String sex)
    {
        this.sex = sex == null ? null : sex.trim();
    }

    public Date getBirthday()
    {
        return birthday;
    }

    public void setBirthday(Date birthday)
    {
        this.birthday = birthday;
    }

    public String getIdentityCode()
    {
        return identityCode;
    }

    public void setIdentityCode(String identityCode)
    {
        this.identityCode = identityCode == null ? null : identityCode.trim();
    }

    public String getEmail()
    {
        return email;
    }

    public void setEmail(String email)
    {
        this.email = email == null ? null : email.trim();
    }

    public String getMobile()
    {
        return mobile;
    }

    public void setMobile(String mobile)
    {
        this.mobile = mobile == null ? null : mobile.trim();
    }

    public String getAddress()
    {
        return address;
    }

    public void setAddress(String address)
    {
        this.address = address == null ? null : address.trim();
    }

    public Integer getStatus()
    {
        return status;
    }

    public void setStatus(Integer status)
    {
        this.status = status;
    }
}